package com.ruoyi.system.service.impl;


import com.ruoyi.system.domain.Myuser;
import com.ruoyi.system.service.IMyuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SelectUser {
    @Autowired
    private IMyuserService myuserService;
    public Myuser getUser(String loginName){
        Myuser users = myuserService.selectMyuserByName(loginName);
        return users;
    }
}
